package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Member;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author hrz
 * @version 1.0
 * @date 2020/6/2 16:07
 */
public interface OrderListService {
    PageResult findPage(QueryPageBean queryPageBean);

    void addOrder(Order order);

    void addMember(Member member);

    void delete(Integer id);

    void deleteAllSelected(String[] ids);

    Date selectOrderDateById(Integer id);

    void updateOrderStatusById(Integer id);

    void addOrderAndMember(Map map, Integer[] setmeal_id);
}
